﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPContentCreator.Code
{
    public static class Utils
    {
        public static DateTime RandomDay(int minDays, int maxDays)
        {
            var random = new Random();
            var days = random.Next(-minDays, maxDays);
            var today = DateTime.Now;
            var date = today.AddDays(days);
            return date;
        }
    }
}
